Skip to content

Release v0.9.0 - #509

Closed
guijacquemet wants to merge 17 commits into
mainfrom
claude/release-v0.9.0
Closed

guijacquemet wants to merge 17 commits into
mainfrom
claude/release-v0.9.0

Conversation

@guijacquemet

@guijacquemet guijacquemet commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Release PR for v0.9.0 (owner decision), re-cut on main at 316be56 plus #576 (the head 1d43cd3 of claude/cellpose-preview-stale). main itself is not merged: #568, #572 and the later work stay out of v0.9.0. Draft. Commits A and B are in. What is left is the owner's: the release label, the full matrix, the Colab/JupyterLab check and the human tests below, the merge and the tag.

What is in it

Stable 1 (a minor release; semantic versioning before 1.0):

Commits

Commit What
Merge 8125f8383b02a7b4ab826608a45f28d74b4f3e91 Release branch 3a1b073 merged with 1d43cd3 (#576). One conflict, in CHANGELOG.md (both sides added entries at the top of the v0.9.0 list): both kept. The notebooks' pins, the RELEASE_CALLS entry and the pin assertion put back to pre-pin values so that B moves them.
A 338629cff2116952224ec60a98ac78b672f88ff6 v0.9.0 release record in docs/conformance.md (docs only; git diff 8125f83 A -- src pyproject.toml is empty). git diff 3a1b073 A -- src is byte for byte #576's source change (checked).
B 669a1f9db0ce576579570f78f8b1758450f946eb RELEASE_REF of all three notebooks, RELEASE_CALLS and the asserted ref in test_notebook_setup.py set to A (5 files, +6/-4).

The earlier CI-only fixes (bac58a1, e781564) are kept in the history. The previous cuts (A b486baa, B 3a1b073; A 62b2790, B ca3b3c6) are superseded.

Verification

  • Full python tools/check.py on the merge tree 8125f83 (same src/pyproject.toml as A; fresh venv, pip install --no-cache-dir, [dev,notebook,zarr,he-mask], Python 3.13.18, PYTEST_ADDOPTS unset, run under the shared lock): Ruff clean, 762 files formatted, pytest 8843 passed, 12 skipped, 0 failed, code rules passed.
  • The 12 skips: 1 needs fiberfeatures v0.7.0; 3 editable-install identity tests (CI's wheel job runs them); 3 need a case-insensitive file system; 2 cannot run as root; 3 are the release-only freshness tests (before B). None in the Spec modules. The scikit-image tests ran.
  • Spec modules: 2122 passed, 0 skipped. Notebook pin and version tests: 49 passed.
  • On B: ruff check . clean, tools/check.py --rules passed, and MORPHOBRICKS_RELEASE_RUN=1 pytest tests/test_notebook_*.py: 1279 passed, 0 skipped (the freshness test ran and passed for all three notebooks).

Colab links (notebooks at B)

  • [MorphoBricks_Preprocessing](https://colab.research.google.com/github/CellMigrationLab/morphobricks-preprocessing/blob/669a1f9db0ce576579570f78f8b1758450f946eb/notebooks/MorphoBricks_Preprocessing.ipynb)
  • [MorphoBricks_Preprocessing_Cellpose](https://colab.research.google.com/github/CellMigrationLab/morphobricks-preprocessing/blob/669a1f9db0ce576579570f78f8b1758450f946eb/notebooks/MorphoBricks_Preprocessing_Cellpose.ipynb)

Item 3 of docs/colab-release-check.md should show preprocessing 0.9.0 (commit 338629cf...) and normalization 0.8.0.

Human test scripts (owner)

Remaining steps (owner)

  1. Add the release label (full matrix with MORPHOBRICKS_RELEASE_RUN=1); it must be green.
  2. Run the Colab/JupyterLab check, the Cellpose stepper human test and the Cellpose Preview: show only this Preview's result, cleared before each run #576, Restore: scan the folder entered when earlier work records none; ignore older answers (v0.9.0 blocker) #566 and Run: show every check before the first image read, and make the header check linear (v0.9.0 release blocker) #567 checks above on the notebooks at B.
  3. Mark ready and merge.
  4. Tag v0.9.0 at the merge commit.

Checklist


🤖 Generated with Claude Code

https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a

…ity fixes)

Commit A of the release PR (owner decision: v0.9.0, a minor release).

- pyproject version 0.9.0 (the package's __version__ comes from the metadata; src unchanged).
- CHANGELOG: "Unreleased" becomes "v0.9.0 (24 November 2026)" with a summary; every entry kept.
- MorphoBricks_Preprocessing and MorphoBricks_Preprocessing_Cellpose: current_version 0.9.0,
  RELEASE_TAG v0.9.0; notebook_latest_versions.yaml likewise. MorphoBricks_Cellpose (0.1.0)
  unchanged: it is retired by the owner after the Colab test.
- README pins and status, AGENTS.md section 11, docs/colab-release-check.md: 0.9.0
  (normalization stays 0.8.0).
- Tests whose doubles hold the notebook's version: test_notebook_setup.py,
  test_notebook_installed_commit.py and installed_record.PINNED_VERSION: 0.9.0.
- RELEASE_REF of all three notebooks is unchanged; commit B points it at this commit and
  records the call in RELEASE_CALLS, after #376 is merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…branch

main's Unreleased entries since 75cde57 (the #283 entry and the tag-by-repeat override entries
of #376) merge into the v0.9.0 (24 November 2026) section; every entry is kept and no
Unreleased section is left, as at v0.8.0. The summary paragraph now names #376 (the channel-tag
override with its per-unit review) and #283 (removing a whole repeat or condition).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
The full python tools/check.py on the tree of the merge commit 32be653 (main at b683c7c with
#376 and #283/#535): Ruff clean, 705 files formatted, pytest 8042 passed and 19 skipped, code
rules passed; the Spec modules 2122 passed, 0 skipped; the notebook pin and version tests 49
passed. Docs only: this commit is the v0.9.0 preparation commit A that commit B pins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
RELEASE_REF = 1d7f241 (RELEASE_TAG v0.9.0) in all three
notebooks (MorphoBricks_Preprocessing, MorphoBricks_Preprocessing_Cellpose and
MorphoBricks_Cellpose), with its PreprocessingNotebook() call recorded in RELEASE_CALLS and the
test that asserts the ref: the same two-commit pattern as v0.8.0 (438a2d3, 1964746).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
The release run (45493175126) passed every test (8140 passed) but the release-only
step failed: test_release_only_the_preprocessing_pin_is_a_commit_with_this_code is
parametrized by notebook (#499), so JUnit names it name[notebook] and the exact-name
lookup found nothing. The step now requires name[notebook] to have run and passed for
every notebook that has a RELEASE_REF. Workflow only: src, pyproject and the pins are
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
The release run (45500961649) failed on macOS and Windows only here: the test makes
Cells/ and cells/ side by side, which a case-insensitive file system cannot hold
(FileExistsError). It now skips there, as the other case tests do. Test only: src,
pyproject and the pins are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…547, #546) into the v0.9.0 release branch

No conflicts. The notebooks' RELEASE_REF, the RELEASE_CALLS entry and the pin assertion are
put back to their pre-pin values (the release branch carried commit B's pins), so that the
next commit is the preparation commit A and commit B moves them. CHANGELOG: #543 and #544
were not in the v0.9.0 section and are added; the others already were.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
The full python tools/check.py on the tree of the merge commit 5e11bc9 (main at c8c3808 with
#528, #534, #543, #545, #544, #530, #548, #547 and #546): Ruff clean, 760 files formatted,
pytest 8813 passed and 12 skipped, code rules passed; the Spec modules 2122 passed, 0 skipped;
the notebook pin and version tests 49 passed. Docs only: this commit is the v0.9.0 preparation
commit A that commit B pins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
RELEASE_REF = 62b2790 (RELEASE_TAG v0.9.0) in all three
notebooks (MorphoBricks_Preprocessing, MorphoBricks_Preprocessing_Cellpose and
MorphoBricks_Cellpose), with its PreprocessingNotebook() call recorded in RELEASE_CALLS and the
test that asserts the ref: the same two-commit pattern as v0.8.0 (438a2d3, 1964746) and the
earlier v0.9.0 pair (1d7f241, ad8abad).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
One conflict, in CHANGELOG.md: both sides added entries at the top of the v0.9.0 list (the
#543 and #544 entries here; the #567 and #566 entries on main). Both kept. The notebooks'
RELEASE_REF, the RELEASE_CALLS entry and the pin assertion are put back to their pre-pin
values (the branch carried commit B's pins) so that commit B moves them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
The full python tools/check.py on the tree of the merge commit 86d7674 (main at 316be56 with
#566 and #567 on top of the earlier v0.9.0 PRs): Ruff clean, 761 files formatted, pytest 8832
passed and 12 skipped, code rules passed; the Spec modules 2122 passed, 0 skipped; the notebook
pin and version tests 49 passed. Docs only: this commit is the v0.9.0 preparation commit A that
commit B pins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
RELEASE_REF = b486baa (RELEASE_TAG v0.9.0) in all three
notebooks (MorphoBricks_Preprocessing, MorphoBricks_Preprocessing_Cellpose and
MorphoBricks_Cellpose), with its PreprocessingNotebook() call recorded in RELEASE_CALLS and the
test that asserts the ref: the same two-commit pattern as v0.8.0 (438a2d3, 1964746) and the
earlier v0.9.0 cuts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
…h run

The owner's Colab test of v0.9.0 (26 November 2026): some nuclei results of
the first Preview stayed on screen after later Previews. The result (card and
figures) was displayed into the step's output area and its clearing was left
to the frontend; a Preview that failed (Cellpose, or the model's load) also
kept the earlier result in `previewed`, and the Segment step's line still
compared with it.

The result now lives in one box of widgets (`CellposeWorkflow.preview_box`,
the figures as PNG pictures), emptied (and its widgets closed) when Preview is
pressed, before the model is loaded; when the channels or the output change;
and when a Preview fails. While Cellpose runs, the box says "Running <model>
on the preview image...". A Preview still writes and records nothing.

Regression tests: tests/test_notebook_cellpose_preview_stale.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
… change

Review of #576: the channel dropdowns are live (Preview and Segment re-read
them with current_targets()), but changing them after a Preview left the
result on screen and in `previewed`; with a Both preview shown, removing the
nuclear channel kept "Nuclei" on screen. The same was true of the model
step's fields, which Preview and Segment also read when pressed.

The preview is now also cleared when a channel dropdown, a channel number or
By tag/number changes (ChannelPicker.on_edit; Segment's line then says "not
previewed yet"), when a field of the model step changes (Segment's line still
names what changed since the last Preview), and in the cell-by-cell
workflow when the settings change, a model is loaded or the nuclei go back
to the cells' model.

The style sheet is shown once even when the first Preview fails (it was
keyed on a card having been shown). figure_image's docstring: one period.

Regression tests: tests/test_notebook_cellpose_preview_stale.py (5 new).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
…0.9.0 release branch

One conflict, in CHANGELOG.md: both sides added entries at the top of the v0.9.0 list. Both
kept; the #576 entry is in the v0.9.0 section. main is not merged: #568, #572 and the later
work stay out of v0.9.0. The notebooks' pins, the RELEASE_CALLS entry and the pin assertion are put back to their
pre-pin values (the branch carried commit B's) so that commit B' moves them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
The full python tools/check.py on the tree of the merge commit 8125f83 (the release branch with
the head 1d43cd3 of #576 merged; main is not merged): Ruff clean, 762 files formatted, pytest
8843 passed and 12 skipped, code rules passed; the Spec modules 2122 passed, 0 skipped; the
notebook pin and version tests 49 passed. Docs only: this commit is the v0.9.0 preparation
commit A that commit B pins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
RELEASE_REF = 338629c (RELEASE_TAG v0.9.0) in all three
notebooks (MorphoBricks_Preprocessing, MorphoBricks_Preprocessing_Cellpose and
MorphoBricks_Cellpose), with its PreprocessingNotebook() call recorded in RELEASE_CALLS and the
test that asserts the ref: the same two-commit pattern as v0.8.0 (438a2d3, 1964746) and the
earlier v0.9.0 cuts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a

Copy link
Copy Markdown
Contributor Author

Closing at the owner's request (26 Nov 2026). The tag v0.9.0 (669a1f9, the head of this branch) is the release; main has moved on with the v0.9.1 work (#568, #572, #575), so this branch is not merged. The v0.9.1 changes go in through the claude/v0.9.1 integration PR.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants